-- card: 8491 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4418 -- name: ----- HyperTalk script ----- on openCard put empty into field "number correct" put empty into field "number wrong" wait 50 end openCard -- part 12 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=0 top=282 right=342 bottom=69 -- title width / last selected line: 0 -- icon id / first selected line: 301 / 301 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Ask Question ----- HyperTalk script ----- on mouseUp global numberVar3 global numberVar4 wait 30 answer "How many seams are there on a football?" with "16" or "8" or "4" if it is "4" then add "1" to numberVar3 put numberVar3 into field "number correct" select text of field "number correct" doMenu copy text go next card select text of field "number correct" doMenu paste text put numberVar4 into field "number wrong" exit mouseUp else add "1" to numberVar4 put numberVar4 into field "number wrong" select text of field "number wrong" doMenu copy text doMenu "message" beep type "4" wait 30 hide message box wait 30 go next card select text of field "number wrong" doMenu paste text put numberVar3 into field "number correct" end mouseUp end mouseUp -- -- part contents for background part 2 ----- text ----- Correct Answers -- part contents for background part 9 ----- text ----- Wrong Answers -- part contents for background part 3 ----- text ----- 11 -- part contents for background part 11 ----- text ----- 8